package com.malty.mall.domain.dto.req;

import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author malty
 */
@Data
public class UpdateStatusReq {
    @NotEmpty(message = "id 数组不能为空")
    private List<Long> ids;
    @NotNull(message = "状态不能为空")
    private Integer status;
}
